<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>教师综合信息查询系统</title>
    <link rel="stylesheet" type="text/css" th:href="@{/css/font-awesome.min.css}">
    <link rel="stylesheet" type="text/css" th:href="@{/css/common.css}">
    <link rel="stylesheet" type="text/css" th:href="@{/css/index.css}">
    <script type="text/javascript" th:src="@{/js/lib/jquery.min.js}"></script>
    <script type="text/javascript" th:src="@{/js/index.js}"></script>
</head>
<body>
    <div class="container">
        <div class="navbar">
            <div class="navbar-inner">
                <a class="brand" href="javascript:void(0);"><span class="logo fl"><img th:src="@{/images/logo.png}"></span><span class="logo-title fl">教师综合信息查询系统</span></a>
                <span class="sign-out fr"><a href="/"><i class="fa fa-circle-o-notch"></i>退出系统</a></span>
                <span class="welcome fr"><i class="fa fa-user-circle-o"></i>yelangren</span>
            </div>
        </div>
    </div>
    <div class="container base-padding">
        <div class="teacher-box">
            <h3 class="teacher-title">中国矿业大学 当前教职工：<span th:text="${sums}"></span>人</h3>
            <div class="teacher-content">
                <div th:each="category:${categoryes}">
                    <div class="teacher-apellation"><span th:text="${category.subjectCategory}"></span> 列表 总计：<span th:text="${category.categoryNums}"></span>人</div>
                    <table class="teacher-table">
                        <tbody>
                            <tr>
                                <td width="20%" th:each="subject,subjectStat:${category.subjectes}">
                                    <a href="teacher.html">
                                        <div class="assortment">
                                            <p  th:text="${subject.subjectAttribution}"></p>
                                            <p>(总计：<span th:text="${subject.subjectNums}"></span>)</p>
                                        </div>
                                    </a>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</body>
</html>